<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Paints pixels transparent</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="imagick.transformimage.html">Imagick::transformImage</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="imagick.transposeimage.html">Imagick::transposeImage</a></div>
 <div class="up"><a href="class.imagick.html">Imagick</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="imagick.transparentpaintimage" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Imagick::transparentPaintImage</h1>
  <p class="verinfo">(No version information available, might only be in Git)</p><p class="refpurpose"><span class="refname">Imagick::transparentPaintImage</span> &mdash; <span class="dc-title">Paints pixels transparent</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-imagick.transparentpaintimage-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>Imagick::transparentPaintImage</strong></span>
    ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$target</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$alpha</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$fuzz</code></span>
   , <span class="methodparam"><span class="type">bool</span> <code class="parameter">$invert</code></span>
   )</div>


  <p class="para rdfs-comment">
   Paints pixels matching the target color transparent.
   此方法在Imagick基于ImageMagick 6.3.8以上版本编译时可用。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-imagick.transparentpaintimage-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">target</code></em></dt>

     <dd>

      <p class="para">
       The target color to paint
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">alpha</code></em></dt>

     <dd>

      <p class="para">
       透明级别：1.0 是完全不透明，0.0 是完全透明。
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">fuzz</code></em></dt>

     <dd>

      <p class="para">
       The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">invert</code></em></dt>

     <dd>

      <p class="para">
       If <strong><code>TRUE</code></strong> paints any pixel that does not match the target color.
      </p>
     </dd>

    
   </dl>

  </p>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-imagick.transparentpaintimage-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回 <strong><code>TRUE</code></strong>。
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="imagick.transformimage.html">Imagick::transformImage</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="imagick.transposeimage.html">Imagick::transposeImage</a></div>
 <div class="up"><a href="class.imagick.html">Imagick</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
